<div class="panel panel-default">
    <div class="panel-body nopadding">
        <form class="form-bordered">
            <div class="form-group" style="text-align: center">
                <img height="150" src="{{$master->head_img_url}}"><br />{{$master->call_name}}
            </div>
            <div class="form-group">
                <div class="table-responsive">
                    <table class="table table-bordered mb30 table-dark">
                        <thead>
                        <tr>
                            <th>保证金</th>
                            <th>信誉</th>
                            <th>总接单</th>
                            <th>总评分</th>
                            <th>好评率</th>
                            <th>投诉记录</th>
                            <th>实名认证</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td>{{$master->wallet->assure_fund}}元</td>
                            <td>{{$master->stat->stars}}星</td>
                            <td>{{$master->stat->order_count}}单</td>
                            <td>{{$master->stat->avg_score}}分</td>
                            <td>{{$master->stat->praise_rate}}%</td>
                            <td>0次</td>
                            <td></td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
            <div class="form-group"><label class="col-sm-4 control-label"><strong><u>师傅介绍</u></strong></label>
                <div class="col-sm-9">
                    所在地区：{{$master->area_crumb}}
                </div>
                <div class="col-sm-9">
                    服务类目：{{$master->service_category_text}}
                </div>
                <div class="col-sm-9">
                    服务类型：{{$master->service_type_text}}
                </div>
                <div class="col-sm-9">
                    服务区域：{{$master->city_name}}[{{$master->service_areas_text}}]
                </div>
                <div class="col-sm-9">
                    提货地点：{{$master->detail->deliver_address}}
                </div>
                <div class="col-sm-9">
                    团队人数：{{$master->detail->member_num ? $master->detail->member_num.'人' : ''}}
                </div>
                <div class="col-sm-9">
                    货车数量：{{$master->detail->car_num ? $master->detail->car_num.'辆' : ''}}
                </div>
                <div class="col-sm-9">
                    职业类型：{{$master->detail->job_type_text}}
                </div>
                <div class="col-sm-9">
                    服务时间：{{$master->detail->service_period_text}}
                </div>
            </div>
            <div class="form-group"><label class="col-sm-4 control-label"><strong><u>服务承诺</u></strong></label>
                @if ($master->detail->extra_tmall_examine)
                    <div class="col-sm-9">
                        <span class="glyphicon glyphicon-ok"></span>提供喵师傅审核
                    </div>
                @endif

                @if ($master->detail->extra_storage)
                    <div class="col-sm-9">
                        <span class="glyphicon glyphicon-ok"></span>提供货品仓储服务
                    </div>
                @endif

                @if ($master->detail->extra_move_free)
                    <div class="col-sm-9">
                        <span class="glyphicon glyphicon-ok"></span>提供免费平移服务
                    </div>
                @endif

                @if ($master->detail->extra_finish_in)
                    <div class="col-sm-9">
                        <span class="glyphicon glyphicon-ok"></span>货到后{{$master->detail->extra_finish_in}}小时内完成服务
                    </div>
                @endif

                @if ($master->detail->extra_nothing_fee)
                    <div class="col-sm-9">
                        <span class="glyphicon glyphicon-ok"></span>空跑费{{$master->detail->extra_nothing_fee}}元每次
                    </div>
                @endif

                @if ($master->detail->extra_repair_free)
                    <div class="col-sm-9">
                        <span class="glyphicon glyphicon-ok"></span>服务后{{$master->detail->extra_repair_free}}个月内免费保修
                    </div>
                @endif

                @if ($master->detail->extra_floor_free)
                    <div class="col-sm-9">
                        <span class="glyphicon glyphicon-ok"></span>步梯在{{$master->detail->extra_floor_free}}楼及以下免费搬楼
                    </div>
                @endif

                @if ($master->detail->extra_carry_fee)
                    <div class="col-sm-9">
                        <span class="glyphicon glyphicon-ok"></span>搬楼费{{$master->detail->extra_carry_fee}}元/每件（25公斤以上）
                    </div>
                @endif

                {{--@if ($master->detail->extra_again_fee)--}}
                    {{--<div class="col-sm-9">--}}
                        {{--<span class="glyphicon glyphicon-ok"></span>二次上门服务{{$master->detail->extra_again_fee}}元起--}}
                    {{--</div>--}}
                {{--@endif--}}

                @if ($master->detail->extra_far_fee)
                    <div class="col-sm-9">
                        <span class="glyphicon glyphicon-ok"></span>无物流地址提货，超过30公里以外的按{{$master->detail->extra_far_fee}}元/公里加收
                    </div>
                @endif
            </div>

        </form>
    </div>
</div>